<%@ page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
<%@include file="../common/tag.jsp" %>
<c:set var="_underDownLog" value="active" scope="request"/>
<c:set var="_pageTitle" value="日志信息" scope="request"/>
<!DOCTYPE html>
<html>
<head>
    <title>${_pageTitle}</title>
    <%@include file="../common/head.jsp" %>
</head>
<body>
<%@include file="../common/topbar.jsp" %>
<div class="ch-container">
    <div class="row">
        <%@include file="../common/left.jsp" %>
        <!-- main content -->
        <div class="page-header"><h3>日志信息</h3></div>
        <form id="search_form" action="${basePath}/AppVersion/getLogFileUrl" method="post" class="form-inline">
            <label>客户ID:</label>
            <input type="text" class="form-control" name="customerId" value="${customerId}"/>
            <input type="submit" class="btn btn-primary" value="查询"/>
        </form>
        <br>
        <div id="list">
            <table class="table table-striped table-bordered bootstrap-datatable datatable responsive">
                <tr>
                    <th>客户ID</th>
                    <th>日志文件</th>
                </tr>
                <c:forEach items="${list }" var="item">
                    <tr>
                        <td>${item.customerId }</td>
                        <td><c:forEach items="${item.logFileList }" var="file">
                            <a href="${basePath}/AppVersion/logFileDownload?customerId=${item.customerId}&&fileName=${file }">
                                &nbsp;&nbsp;&nbsp;&nbsp;${file}</a>
                        </c:forEach></td>
                    </tr>
                </c:forEach>
            </table>
        </div>
        <!-- end main content -->
        <!-- content ends -->

        <c:import url="../common/footer.jsp"/>

